<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
       div{
        position:absolute;

top:50%;

left:50%;

margin:-100px 0 0 -100px;

width:200px;

height:200px;

border:1px solid red;
       }

       html{
           height: 1600px;
           
       }
       body{
        scrollbar-face-color: blue;
           scrollbar-highlight-color: #fff;
           scrollbar-shadow-color: #eee;
           scrollbar-3dlight-color: #eee;
           scrollbar-arrow-color: #000;
           scrollbar-track-color: #fff;
           overflow: visible;
       }
    </style>
</head>
<body>
    

    <div>

    </div>
</body>
</html>